package com.innovation.thread;

import org.apache.log4j.Logger;

import com.innovation.service.PlayerService;

public class ScanThread extends Thread {
	private static Logger log = Logger.getLogger("EXCEPTION");
	
	public static ScanThread INSTANCE = new ScanThread();
	@Override
	public void run() {
		super.run();
		while(true){
			try{
				Thread.sleep(5 * 60 * 1000L);
//				PlayerService.scan();
			}catch(Exception e){
				log.error("scan player has error!", e);
			}
		}
	}
}
